package com.one2manycall.dao;

import com.one2manycall.vo.User;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

@Mapper
public interface UserMapper {


    void insertUser(User user);

    User getUserById(Long id);

    List<User> getAllUsers();

    void updateUser(User user);

    void deleteUser(Long id);

    User findByUsername(String id);




}